<template>
	<div id="app">
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<a class="mui-tab-item mui-active" href="#tabbar">
				<router-link to="Item">
					<span class="mui-icon mui-icon-home"></span>
					<span class="mui-tab-label">答题</span>
				</router-link>
			</a>
			<a class="mui-tab-item mui-active" href="#tabbar">
				<router-link to="Score">
					<span class="mui-icon mui-icon-home"></span>
					<span class="mui-tab-label">分数</span>
				</router-link>
			</a>
			<a class="mui-tab-item mui-active" href="#tabbar">
				<router-link to="Index">
					<span class="mui-icon mui-icon-home"></span>
					<span class="mui-tab-label">开始</span>
				</router-link>
			</a>
		</header>
		<nav class="mui-bar mui-bar-tab">
			<a class="mui-tab-item mui-active" href="#tabbar">
				<router-link to="Home">
					<span class="mui-icon mui-icon-home"></span>
					<span class="mui-tab-label">首页</span>
				</router-link>
			</a>
			<a class="mui-tab-item" href="#tabbar-with-chat">
				<router-link to="/Message">
					<span class="mui-icon mui-icon-email"><span class="mui-badge">9</span></span>
					<span class="mui-tab-label">消息</span>
				</router-link>
			</a>
			<a class="mui-tab-item" href="#tabbar-with-contact">
				<router-link to="/Address">
					<span class="mui-icon mui-icon-contact"></span>
					<span class="mui-tab-label">通讯录</span>
				</router-link>
			</a>
			<a class="mui-tab-item" href="#tabbar-with-map">
				<router-link to="/Login">
					<span class="mui-icon mui-icon-gear"></span>
					<span class="mui-tab-label">设置</span>
				</router-link>
			</a>
		</nav>
		    <router-view></router-view>
	</div>
</template>

<script>
	export default {
		name: 'app'
	};
</script>

<style lang="less">
	#app {
		font-family: 'Avenir', Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-align: center;
		color: #2c3e50;
		margin-top: 60px;
	}
	
	.mui-content {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
</style>